package com.yunhe.marketing.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/**
 * @Author: DongWenYu
 * @Date: 2021/3/12 17:51
 */
@ApiModel(value = "CompanyEvent", description = "企业事件")
public class CompanyEvent implements Serializable {

    private static final long serialVersionUID = 2102774128434785777L;

    @ApiModelProperty(value = "自增id")
    private Long id;

    @ApiModelProperty(value = "曝光对象id")
    private Long itemId;

    @ApiModelProperty(value = "用户id")
    private Long userId;

    @ApiModelProperty(value = "曝光时间戳")
    private Long rtime;

    @ApiModelProperty(value = "曝光位置：1_2表示第1页第2条")
    private String pageLocation;

    @ApiModelProperty(value = "用户ip")
    private String userIp;

    @ApiModelProperty(value = "用户地理信息")
    private String userLocation;

    @ApiModelProperty(value = "曝光对象类型：company企业")
    private String itemType;

    @ApiModelProperty(value = "实验id")
    private Long experimentId;

    @ApiModelProperty(value = "事件类型：exposure、click等")
    private String eventType;

    @ApiModelProperty(value = "附加字段")
    private String extraInfo;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getItemId() {
        return itemId;
    }

    public void setItemId(Long itemId) {
        this.itemId = itemId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getRtime() {
        return rtime;
    }

    public void setRtime(Long rtime) {
        this.rtime = rtime;
    }

    public String getPageLocation() {
        return pageLocation;
    }

    public void setPageLocation(String pageLocation) {
        this.pageLocation = pageLocation;
    }

    public String getUserIp() {
        return userIp;
    }

    public void setUserIp(String userIp) {
        this.userIp = userIp;
    }

    public String getUserLocation() {
        return userLocation;
    }

    public void setUserLocation(String userLocation) {
        this.userLocation = userLocation;
    }

    public String getItemType() {
        return itemType;
    }

    public void setItemType(String itemType) {
        this.itemType = itemType;
    }

    public Long getExperimentId() {
        return experimentId;
    }

    public void setExperimentId(Long experimentId) {
        this.experimentId = experimentId;
    }

    public String getEventType() {
        return eventType;
    }

    public void setEventType(String eventType) {
        this.eventType = eventType;
    }

    public String getExtraInfo() {
        return extraInfo;
    }

    public void setExtraInfo(String extraInfo) {
        this.extraInfo = extraInfo;
    }
}
